/**
 * @Author: HaoyangDu
 * @Email: HaoyangDu@wits.com
 * @Date: 2024-04-09 15:02:38
 * @LastEditTime: 2024-04-12 16:02:48
 * @LastEditors: your name
 * @Description: 使用字符串占位符拼接请求地址
 * @FilePath: \hfxed\src\utils\api.js
 */

/**
 * @description: 使用字符串占位符拼接请求地址
 * @return {*}
 */
const realNameApi = "realName/"; //实名认证服务
const customerMyApi = "customerMy/"; //我的服务
const ctLoginApi = "ct/login/"; //登录服务
const creditApi = "credit/"; //授信服务
const userPathModeApi = "userPathMode/"; //用户行径服务
const contractApi = "contract/"; //合同服务
const commonApi = "common/"; //通用服务

export default {
  // 实名认证
  faceAuth: `${realNameApi}faceAuth`, //人脸核身
  faceResult: `${realNameApi}faceResult`, //人脸核身结果
  realNameAuth: `${realNameApi}realNameAuth`, //客户实名认证  #
  realNameSubmit: `${realNameApi}realNameSubmit`, //客户实名提交  #

  // 我的
  applyDetail: `${customerMyApi}applyDetail`, //申请详情
  contactWe: `${customerMyApi}contactWe`, //联系我们
  interview: `${customerMyApi}interview`, //面谈承诺书
  interviewPreview: `${customerMyApi}interviewPreview`, //面谈承诺书预览
  interviewSign: `${customerMyApi}interviewSign`, //面谈承诺书签署
  loanContractPreview: `${customerMyApi}loanContractPreview`, //借款合同预览
  loanContractSign: `${customerMyApi}loanContractSign`, //借款合同签署
  myApply: `${customerMyApi}myApply`, //我的申请
  myCommission: `${customerMyApi}myCommission`, //我的待办
  myLoan: `${customerMyApi}myLoan`, //我的贷款
  phoneExchangeBind: `${customerMyApi}phoneExchangeBind`, //客户手机换绑
  signMessage: `${customerMyApi}signMessage`, //签约信息
  
  // 登录
  login: `${ctLoginApi}login`, //客户登录
  sendSmsCode: `${ctLoginApi}sendSmsCode`, //发送短信验证码

  // 授信
  createCd: `${creditApi}createCd`, //创建客户详细  #
  createOrder: `${creditApi}createOrder`, //创建订单  #
  createOrderExecRcd: `${creditApi}createOrderExecRcd`, //创建订单执行记录  #
  createPlayers: `${creditApi}createPlayers`, //创建参与人  #
  createPlayersDetail: `${creditApi}createPlayersDetail`, //创建参与人详细  #
  creditApply: `${creditApi}creditApply`, //授信申请
  creditAuthBookPreview: `${creditApi}creditAuthBookPreview`, //征信授权书预览
  creditResult: `${creditApi}creditResult`, //授信结果查询
  personSensitiveMsgPreview: `${creditApi}personSensitiveMsgPreview`, //个人敏感信息收集及使用授权书预览
  orgChoose: `${creditApi}orgChoose`, //选择网点
  allocationCt: `${creditApi}allocationCt`, //分配客户经理

  // 用户行径
  show: `${userPathModeApi}show`, //展示用户行径

  // 通用
  kaptcha: `${commonApi}kaptcha`, //获取图片验证码
  getOpenid: `${commonApi}getOpenid`, //获取openid
  viewFile: `${commonApi}viewFile`, //文件预览

  linkAuth: `${contractApi}linkAuth`, //链接授权
};
